/**
 * @Classname StarWrapper
 * @Description TODO
 * @Date 2023/9/2 17:00
 * @Created by wpc
 */
public class StarWrapper implements IStar{
    private Star star;

    public StarWrapper(Star star){
        this.star = star;
    }


    @Override
    public void sing() {
        this.star.sing();
    }

    @Override
    public void dump() {
        this.star.dump();
    }

    public void fly(){
        System.out.println("比起普通的明星，我还会飞行");
    }
}
